import request from '@/utils/request'

// 查询报考志愿院校信息列表
export function listExamUniversity(query) {
  return request({
    url: '/chengkao/examUniversity/list',
    method: 'get',
    params: query
  })
}

// 查询报考志愿院校信息详细
export function getExamUniversity(id) {
  return request({
    url: '/chengkao/examUniversity/' + id,
    method: 'get'
  })
}

// 新增报考志愿院校信息
export function addExamUniversity(data) {
  return request({
    url: '/chengkao/examUniversity',
    method: 'post',
    data: data
  })
}

// 修改报考志愿院校信息
export function updateExamUniversity(data) {
  return request({
    url: '/chengkao/examUniversity',
    method: 'put',
    data: data
  })
}

// 删除报考志愿院校信息
export function delExamUniversity(id) {
  return request({
    url: '/chengkao/examUniversity/' + id,
    method: 'delete'
  })
}
